import pymysql

def dbLink(dbHost,dbUser,dbPassword,dbDatabase):
    #dbHost = '114.115.248.128'
    #dbUser = 'root'
    #dbPassword = 'Esxi0000.'
    #dbDatabase = 'test'
    db=pymysql.connect(host=dbHost,user=dbUser,password=dbPassword,db=dbDatabase)
    return db
